<%@ include file="/WEB-INF/view/include.jsp"%>

<ul class="ulHorizontal ulbreadcrumb"> 
	<c:if test="${not empty breadcrumb}">
	<li> 
	   <spring:message code="header.label.you_are_here" />
	</li>
	<c:forEach var="item" items="${breadcrumb}" varStatus="status">
		<li <c:if test="${status.last}" >class="current"</c:if>>
		<a href='<c:choose><c:when test='${item.isClickable && !status.last}'>${item.url}</c:when><c:otherwise>javascript:void(0);</c:otherwise></c:choose>'><span class="t_welcome-blue-txt"><c:choose><c:when test='${item.isMessageDriven}'><spring:message code="${item.nameEn}" /></c:when><c:otherwise><c:choose><c:when test='${requestScope.requestContextAttribute.locale.language == "ar"}'>${item.nameAr}</c:when><c:otherwise>${item.nameEn}</c:otherwise></c:choose></c:otherwise></c:choose></span></a>
		</li>
		<c:if test="${!status.last}" ><li><img  src="resources/images/breadcrumb-arrow.jpg" alt="" class="separrow" /></li></c:if>  
	</c:forEach>
	</c:if>
</ul>